<template>
  <div id="app">
    <h1>vue-router测试</h1>
    <router-link to="/foo">go to foo</router-link>
    <router-link :to="{name: 'Bar'}">got to bar</router-link>
    <router-link :to="{name: 'HelloWorld'}">go to helloworld</router-link>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
